package cn.wolfcode.car.mapper;

import cn.wolfcode.car.domain.Role;
import cn.wolfcode.car.qo.RoleQueryObject;

import java.util.List;

public interface RoleMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Role record);

    Role selectByPrimaryKey(Long id);

    List<Role> selectAll();

    int updateByPrimaryKey(Role record);

    List<Role> selectForPage(RoleQueryObject qo);

    List<Role> selectByEmployeeId(Long id);

    List<String> selectSnByEmployeeId(Long id);
}